package edu.gatech.ors.mrsim.core;

import edu.gatech.ors.mrsim.io.conf.Configuration;

public abstract class ModuleOnNode<T extends Node> extends Module {
	protected T host;

	public ModuleOnNode(Simulation simulation, Configuration config, T node) {
		super(simulation, config);
		setHost(node);
	}

	public ModuleOnNode(Simulation simulation, Configuration config) {
		super(simulation, config);
	}

	/**
	 * @return the host
	 */
	public T getHost() {
		return host;
	}

	/**
	 * @param host
	 *            the host to set
	 */
	public void setHost(T host) {
		this.host = host;
	}

}
